import request from '@/util/request'

export function getWorkOrder(data) {
  return request({
    url: '/erp/work/order/get',
    method: 'post',
    data
  })
}

export function pageGetWorkOrder(data) {
  return request({
    url: '/erp/work/order/pageGet',
    method: 'post',
    data
  })
}

export function insertWorkOrder(data) {
  return request({
    url: '/erp/work/order/insert',
    method: 'post',
    data
  })
}

export function deleteWorkOrder(data) {
  return request({
    url: '/erp/work/order/delete',
    method: 'post',
    data
  })
}

export function updateWorkOrder(data) {
  return request({
    url: '/erp/work/order/update',
    method: 'post',
    data
  })
}

